package com.swiot.biz.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.swiot.common.annotation.Excel;
import com.swiot.common.core.domain.BaseEntity;

/**
 * 业务板块对象 biz_segment
 * 
 * @author kingdom
 * @date 2025-09-04
 */
public class Segment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 板块名称 */
    @Excel(name = "板块名称")
    private String segmentName;

    /** 板块描述 */
    @Excel(name = "板块描述")
    private String segmentDesc;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSegmentName(String segmentName) 
    {
        this.segmentName = segmentName;
    }

    public String getSegmentName() 
    {
        return segmentName;
    }
    public void setSegmentDesc(String segmentDesc) 
    {
        this.segmentDesc = segmentDesc;
    }

    public String getSegmentDesc() 
    {
        return segmentDesc;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("segmentName", getSegmentName())
            .append("segmentDesc", getSegmentDesc())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
